
import request from '@/utils/request'

export function all() {
    return request({
        url: '/dev/score/all',
        method: 'get'
    })
}

export function add(param) {
    return request({
        url: '/dev/score/add',
        method: 'post',
        data: param
    })
}

export function update(param) {
    return request({
        url: '/dev/score/update',
        method: 'post',
        data: param
    })
}

export function del(id) {
    return request({
        url: '/dev/score/delete',
        method: 'post',
        data: id
    })
}

export function list(param) {
    return request({
        url: '/dev/score/list',
        method: 'post',
        data: param
    })
}